Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NLinearGradientFill Class / NLinearGradientFill Constructor / NLinearGradientFill Constructor(NAngle,NColor[])
Angle of rotation of the gradient axis.
An array of colors to be used for the gradient stops.


In This Topic
    NLinearGradientFill Constructor(NAngle,NColor[])
    In This Topic
    Creates a linear gradient fill with equally spaced gradient stops with the specified colors.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal angle As NAngle, _
       ByVal ParamArray colors() As NColor _
    )
    'Usage
     
    
    Dim angle As NAngle
    Dim colors() As NColor
     
    Dim instance As New NLinearGradientFill(angle, colors)
    public NLinearGradientFill( 
       NAngle angle,
       params NColor[] colors
    )

    Parameters

    angle
    Angle of rotation of the gradient axis.
    colors
    An array of colors to be used for the gradient stops.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also